package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.bean.ReplyBean;
import com.project.bean.StickBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;

@Mapper
public interface IStickMapper extends BaseMapper<StickBean> {
    public IPage<ReplyBean> findByItem(Page<ReplyBean> pg,
                                       @Param("channelId") Integer channelId ,
                                       @Param("title") String title,
                                       @Param("name") String name,
                                       @Param("startDate") LocalDate startDate,
                                       @Param("endDate") LocalDate endDate);
}
